import styled from 'styled-components';

export const CatListHeadWrapper = styled.div`
  border-bottom: 2px solid #c20c0c;
  height: 40px;
  width: 900px;
  margin-top: 30px;
  display: flex;
  > span {
    font-size: 24px;
    color: #333;
    line-height: 40px;
    white-space: nowrap;
  }
  .ctrl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 830px;
    margin-left: 20px;
  }
  .stCatList {
    display: inline-block;
    background-position: right -100px;
    height: 31px;
    width: 91px;
    cursor: pointer;
    &:hover {
      background-position: right -182px;
    }
    > i {
      display: inline-block;
      background-position: 0 -59px;
      color: #0c73c2;
      padding: 0 10px 0 15px;
      height: 31px;
      width: 63px;
      line-height: 31px;
      &:hover {
        background-position: 0 -141px;
      }
      > em {
        display: inline-block;
        width: 8px;
        height: 5px;
        background-position: -70px -543px;
      }
    }
  }
  .hot {
    background-position: 0 0;
    padding: 8px 10px;
    border-radius: 3px;
    color: #fff;
  }
  .isVb {
    display: block !important;
  }
  .catList {
    display: none;
    position: absolute;
    top: 75px;
    left: 10px;
    width: 720px;
    height: 700px;
    z-index: 5;
    .hd {
      height: 32px;
      background-position: 0 0;
    }
    .bg {
      background-position: -720px 0;
      width: 700px;
      padding: 0 10px;
      background-repeat: repeat-y;

      > h3 {
        height: 37px;
        border-bottom: 1px solid #e6e6e6;
        > a {
          display: block;
          width: 75px;
          height: 26px;
          background-position: 0 -64px;
          text-align: center;
          line-height: 26px;
          margin-left: 20px;
          font-size: 12px;
          font-weight: normal;
          color: #333;
          cursor: pointer;
        }
      }
      dl:last-child {
        > dd {
          padding-bottom: 30px;
        }
      }
    }
    .ft {
      height: 20px;
      background-position: -1440px -12px;
    }
  }
`;
